<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link rel="stylesheet" href="admin/assets/css/bootstrap.min.css" />
		<link rel="stylesheet" href="admin/assets/css/font-awesome.min.css" />
		<link rel="stylesheet" href="admin/assets/css/ace.min.css" id="main-ace-style" />
		<!--[if lte IE 9]>
			<link rel="stylesheet" href="assets/css/ace-part2.min.css" />
		<![endif]-->
		<link rel="stylesheet" href="admin/assets/css/ace-skins.min.css" />
		<link rel="stylesheet" href="admin/assets/css/ace-rtl.min.css" />
		<title>网站设置</title>
		
	</head>
	<body class="no-skin" style="background: #FFFFFF;">
		<div class="page-content">
			<div class="page-content-area">
				<div class="row">
					<div class="col-xs-12">
						<!-- PAGE CONTENT BEGINS -->
						@foreach ($data as $user)
						<form <?php if($user->id%2){echo 'style="background: #77D4DFE3;padding: 5px;"';}else{echo 'style="background: #D7DBDD;padding: 5px;"';}?> id="{{ $user->id }}" class="form-horizontal" role="form" method="post" action="{{ url('scrollindexUp') }}" enctype="multipart/form-data">
							{{ csrf_field() }}
							<input name="id" type="hidden" value="{{ $user->id }}"/>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 滚动图{{ $user->id }}：</label>
								<div class="col-sm-9">
									@if ($user->imgpath != "")
									<img src="{{$user->imgpath }}" style="padding-bottom: 10px;width: 250px;"/><br />
									<span style="color: #81A85A;">已上传</span>
									@else
									<span style="color: #FF892A;">未上传</span>
									@endif
									<input name="fileOne" type="file" multiple="" />
								</div>
							</div>
							
							<div class="form-group" style="margin-top: 20px;">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> &nbsp;</label>
								<div class="col-sm-9">
									<input class="btn btn-info" type="submit" value="提交" style="width: 200px;"/>
								</div>
							</div>
						</form>
						@endforeach
						<div class="form-group" style="margin-top: 60px;">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> &nbsp;</label>
								<div class="col-sm-9">
									<span style="color: #F0981C;">滚动图片最好大小规格相同</span>
								</div>
							</div>
					</div>
				</div>			
			</div><!-- /.page-content-area -->
		</div><!-- /.page-content -->
	</body>
		<script type="text/javascript">
			window.jQuery || document.write("<script src='admin/assets/js/jquery.min.js'>"+"<"+"/script>");
		</script>
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='admin/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="admin/assets/js/bootstrap.min.js"></script>
		<script src="admin/assets/js/jquery-ui.custom.min.js"></script>
		<script src="admin/assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="admin/assets/js/ace-elements.min.js"></script>
		<script src="admin/assets/js/ace.min.js"></script>
</html>
